#!/usr/bin/env bash

make build & cd build

cmake -DBUILD_TYPE=soc \
    -DINSTALL_PREFIX=/login_home/liujinsong/tmp/sophon \
    -DLIBSOPHON_BASIC_PATH=/login_home/liujinsong/sophon/libsophon \
    -DFFMPEG_BASIC_PATH=/login_home/liujinsong/sophon/sophon-ffmpeg \
    -DOPENCV_BASIC_PATH=/login_home/liujinsong/sophon/sophon-opencv \
    -DCMAKE_TOOLCHAIN_FILE=../cmake/BM168x_SOC/ToolChain_aarch64_linux.cmake \
    -DBUILD_PYSAIL=OFF ..

make -j sail
